package net.sevear.chaos.event
{
	import flash.events.Event;
	
	public class SourceProxyEvent extends Event
	{
		public static const FOUND_URL			:String = "Found Music Download URL";
		public static const NOT_FOUND_URL		:String = "Not Found Music Download URL";
		public static const TIME_OUT			:String = "Time out on finding URL";
		public static const SERVICE_BREAK_DOWN	:String = "Source Proxy Service breaks down";
		
		private var _url:String = null;
		private var _source:int = -1;
		public function SourceProxyEvent(type:String,url:String = null,sourceType:int = -1)
		{
			_url = url;
			super(type, false,false);
		}
		
		public function get downURL():String{
			return _url;
		}
		
		public function source():int{
			return _source;
		}
	}
}